package com.kingdee.eas.mx.exp.po;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class PurContractFactory
{
    private PurContractFactory()
    {
    }
    public static com.kingdee.eas.mx.exp.po.IPurContract getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.mx.exp.po.IPurContract)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("FE4A1852") ,com.kingdee.eas.mx.exp.po.IPurContract.class);
    }
    
    public static com.kingdee.eas.mx.exp.po.IPurContract getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.po.IPurContract)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("FE4A1852") ,com.kingdee.eas.mx.exp.po.IPurContract.class, objectCtx);
    }
    public static com.kingdee.eas.mx.exp.po.IPurContract getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.po.IPurContract)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("FE4A1852"));
    }
    public static com.kingdee.eas.mx.exp.po.IPurContract getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.po.IPurContract)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("FE4A1852"));
    }
}